#include <stdio.h>
#include <assert.h>
#include <sys/time.h>
#include <stdint.h>
#include "NDL.h"


int main() {
  NDL_Init(0);
  uint64_t last_time = NDL_GetTicks();
  while (1)
  {
    uint64_t time_ms = NDL_GetTicks();
    if(time_ms > last_time + 500) {
      last_time = time_ms;
      printf("一句话\n");
    }
  }
  
  return 0;
}
